//---------------------------------------------------------------------------

#ifndef FPGL_walkH
#define FPGL_walkH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TFormFPGL_WALK : public TForm
{
__published:	// IDE-managed Components
	TPageControl *PageControl1;
	TTabSheet *TabSheet1;
	TGroupBox *GroupBox1;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TLabel *Label_HP;
	TLabel *Label_HH;
	TLabel *Label_HS;
	TLabel *Label_HL;
	TEdit *Edit_HL;
	TEdit *Edit_HS;
	TEdit *Edit_HH;
	TEdit *Edit_HP;
	TGroupBox *GroupBox2;
	TLabel *Label16;
	TLabel *Label_iteration_no;
	TLabel *Label17;
	TLabel *Label18;
	TLabel *Label19;
	TLabel *Label20;
	TLabel *Label21;
	TLabel *Label22;
	TLabel *Label_policy_no;
	TLabel *Label_ori_reward;
	TLabel *Label_best_reward;
	TLabel *Label_policy_amount;
	TLabel *Label_falldown_count;
	TLabel *Label_para_relevance;
	TTabSheet *TabSheet2;
	TGroupBox *GroupBox5;
	TCheckBox *CheckBox_HL;
	TCheckBox *CheckBox_HS;
	TCheckBox *CheckBox_HH;
	TCheckBox *CheckBox_HP;
	TButton *Button_PR_Enable;
	TButton *Button_PR_Disable;
	TButton *Button_PR_Reset;
	TGroupBox *GroupBox3;
	TButton *Button_PGRL_Reset;
	TButton *Button_PGRL_Run;
	TButton *Button_PGRL_Train;
	TButton *Button_PGRL_Random;
	TButton *Button_PGRL_Back;
	TButton *Button_PGRL_Max;
	TButton *Button_PGRL_Save;
	TButton *Button_PGRL_Reward;
	TSaveDialog *SaveDialogWALK;
	TButton *Button_PR_Clear;
	TEdit *Edit_num_ratio;
	TLabel *Label5;
	TGroupBox *GroupBox4;
	TButton *Button_START_REC;
	TButton *Button_END_REC;
	TButton *Button_FALL;
	TLabel *Label38;
	TEdit *Edit_RF;
	TLabel *Label39;
	TEdit *Edit_RB;
	TLabel *Label40;
	TEdit *Edit_Tilt_F;
	TLabel *Label6;
	TEdit *Edit_Tilt_B;
	TLabel *Label7;
	TEdit *Edit_AL;
	TLabel *Label_AL;
	TLabel *Label10;
	TEdit *Edit_AS;
	TLabel *Label_AS;
	TLabel *Label12;
	TEdit *Edit_AH;
	TLabel *Label_AH;
	TLabel *Label14;
	TEdit *Edit_AP;
	TLabel *Label_AP;
	TLabel *Label8;
	TEdit *Edit_distance;
	TLabel *Label41;
	TEdit *Edit_reward;
	TCheckBox *CheckBox_AL;
	TCheckBox *CheckBox_AS;
	TCheckBox *CheckBox_AH;
	TCheckBox *CheckBox_AP;
	TLabel *Label_RF;
	TLabel *Label_RB;
	TCheckBox *CheckBox_RF;
	TCheckBox *CheckBox_RB;
	TRadioGroup *RadioGroup_PT;
	void __fastcall Button_PGRL_ResetClick(TObject *Sender);
	void __fastcall Button_PGRL_RunClick(TObject *Sender);
	void __fastcall Button_PGRL_TrainClick(TObject *Sender);
	void __fastcall Button_PGRL_RandomClick(TObject *Sender);
	void __fastcall Button_PGRL_BackClick(TObject *Sender);
	void __fastcall Button_PGRL_MaxClick(TObject *Sender);
	void __fastcall Button_PGRL_SaveClick(TObject *Sender);
	void __fastcall Button_FALLClick(TObject *Sender);
	void __fastcall Edit_rewardKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Button_START_RECClick(TObject *Sender);
	void __fastcall Button_END_RECClick(TObject *Sender);
	void __fastcall Button_PGRL_RewardClick(TObject *Sender);
	void __fastcall Button_PR_EnableClick(TObject *Sender);
	void __fastcall Button_PR_DisableClick(TObject *Sender);
	void __fastcall Button_PR_ResetClick(TObject *Sender);
	void __fastcall Edit_distanceKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Button_PR_ClearClick(TObject *Sender);
	void __fastcall Edit_HLKeyPress(TObject *Sender, wchar_t &Key);
	void __fastcall Edit_num_ratioKeyPress(TObject *Sender, wchar_t &Key);
private:	// User declarations
public:		// User declarations
	__fastcall TFormFPGL_WALK(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFormFPGL_WALK *FormFPGL_WALK;
//---------------------------------------------------------------------------
#endif
